package com.interview.spring.aop.app;

import com.interview.spring.aop.dao.UserDao;
import com.interview.spring.aop.dao.UserDaoImpl;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.DeclareParents;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author: zsg
 * @description:
 * @date: 2019/11/23 19:00
 * @modified:
 */
//@Aspect
//@Component
public class TestDeclareParentsAspectj {
    @DeclareParents(value = "com.interview.spring.aop.dao.*",defaultImpl = UserDaoImpl.class)
    private static UserDao userDao;

}
